import request from "@/utils/request.js"

export const wxLoginApi = (data) => {
	return request("/user/wxLogin",{
		method:'POST',
		data
	})
}
export const getUserInfoApi = (data) => {
	return request(`/user/getUserInfo?token=${data}`)
}
export const getCollectionApi = (data) => {
	return request(`/user/getcollect`,data)
}
export const getCollectApi = (data) => {
	return request(`/user/collect`,{
		method:'POST',
		data
	})
}
// export const getLikeApi = (data) => {
// 	return request(`/user/collect`,{
// 		method:'POST',
// 		data
// 	})
// }